package org.bank;
import javax.ejb.Local;

import org.bank.dto.AccountTO;

//The interface for the Bank bean with the method signatures.
@Local
public interface Bank {

	public boolean createAccount(AccountTO accountTO);
	public AccountTO getAccount(int acountNumber);
	public boolean editAccount(int accountNumber, String firstName, String lastName, String address, String phoneNumber);
	public int transferMoney(int accountNumber1, int accountNumber2, double amount);
	public boolean depositMoney(int accountNumber, double amount);
	public boolean withdrawMoney(int accountNumber, double amount);

}
